﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ds.DataBase.Enum;

namespace Ds.DataBase.Model
{
    public abstract  class MoBan
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int mbid { set; get; }
        /// <summary>
        /// 模板名称
        /// </summary>
        public string mbmc { set; get; }
        /// <summary>
        /// 模板类型
        /// </summary>
        public 模板类型 mbtype { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime cjsj { set; get; }
        public virtual ICollection<ZhiWei> ZhiWeis { set; get; }
    }
}
